<?php
class ImagesController extends AppController {
	//var $scaffold = 'admin';
	function beforeFilter(){
		if (isset($this->params['admin'])){
			$this->layout = 'admin';
		}
	}
}